package com.qisimanxiang.dalaran.zuul.web;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping
@Slf4j
public class HealthController {

    @RequestMapping("health")
    public String health() {
        if (log.isDebugEnabled()) {
            log.info("health check");
        }
        return "success";
    }
}
